The Dreamweaver JavaScript API > Enablers > dom.canSetLinkHref()

 

dom.canSetLinkHref()

Availability

Dreamweaver 3.0

Description

Checks whether Dreamweaver can change the link around the current selection or create one if necessary.

Arguments

None.

Returns

A Boolean value indicating whether the selection is an image, text, or an insertion point inside a link. A text selection is defined as a selection for which the text Property inspector would appear.